modified getHit and added toDo