figuring out validation