inverse case exercise with modification