Made some minor corrections to my code