Made it compatible with String and Integers(Fixnum)