changed copy construct, added new endgame
changed main end