working on core game