modified exercise solutions