Give me a code for my full understanding