extending input validator functionality