Turns out previous solution does not work. Here's a working one