more implementation of task validation