Adding solution for 2