added king checks