Fixed typo.
Removed unnecessary end.