not really sure what is wrong with validation