adding sanitize factory