oop stuff in game