updated items so that the timestamp is returned, removed duplicate code in appView