Here I will share a working code that I have collected