removed entitystate.cpp