removed is_legal_move method + all related methods