more work on sub states