making valid moves