Broke move checking code