added king_attacked in move