added some task functionality