added validations to games