added some spaces between lines and added some comments