Fixed typo where method wasn't being called