Made it compatible with Strings and Integers(Fixnum)