[8] simple if/else solution