adde basic sanitization function