Creating players functional