Added some strip() to input strings