v3 version, Rishabh's try.