Modified first homework (cmc, ios)