added solution for second problem