added some snippets to make it easy to work with listViews