create player object