made some corrections to my mistakes