adding ability to read both simple items and lists