add solution to 1.8