only allow moves that are in the allowed moves