Put sanitization in separate function for easier access