de-hardcode the number of systems