add solution to 3b