Add in strip method to get rid of leading or trailing whitespace before calling other methods