add new task functionality