splitted up complex
added game code