add validator and sanitizer methods