modified taskActivity