Implemented one more custom validator