generate king states should work