minor optimization, using string strip method rather than from module