added toggle for selection