tried to create custom valid