refactored method IsMoveEntered