added functionality to nameplay game