added selectPrimary