task validation