9) working for non-string lists