load incrementally
renamed some things
hash the id for initial state
minor changes