pre step for selection