Defined functions in Tasker class