removed selectionFactory dependency