added buggy validation