sys for choosing bases