created guardValidator to protect the interface on objects that takes validators as arguments