Now it should work for any number of supervisors.