adding game specific code