Task handling for YTP