added the leave_details spec