trrying to get validation to work