indenting and added some more steps