added sanitize method to sanitizer with specs