add selection mode