integration of validation plugin