replace removeHyphens function