removing unnecessary comments
correcting the code sample