Add optional param to timesheet function