inverting status and gamemode handlers code