added fair selection for tasks