convert players from functions to mecha