Changed x to y and moved validate to games.validate