Working implementation :thumbsup: