Added -validMove method