more validation checks working