adding selection controller