refactoring code and added leave requests