handling (collection vs non-collection) targets
option to end on different classes