Working implementation using Duppy!