This is the code that I write in lab