added monostate
added player factory