Sanitize API
still working in progress