wrote passing validationt tests