Understanding loan simulation