and fixed a typo in a method name