some more logic for the Entity class; optimized FPS at startup