rename function to avoid name collision with game