removed extra spaces, fixed reset() comment line