work with stringified numbers as well