beginning of selection