cleaning up start task functionality