Changed the method names as per instructions.