create play correctly in api controller