Another much simpler solution