small change
changed obj.toString() to String.valueOf(obj)