system select logic