method declaration name typo