def remove_whitespace(text) text.gsub(/\s+/,'') end