Add another way of solving the problem