changing atoms into refs for game entities for concurrency consistency