Some modifications made and comments added