fix typo in method declaration
correct list() usage - remove not used variable