king's position wasn't properly updating, may have fixed but, still needs a lot of testing