implemented isOver()