queue function and game files