added to move.java