removed sanitize() function