Fixed typo and removed unnecesary method