Thanks for sharing this piece of work. Please add a license to the repo so that I know in what way I can use your code. Thanks.