added a function to get time entries