add solution to 2.7