task and process complete functionality added