add closure sanitize/validate