Adding solution for 3.5