typo
arguments to function rather than through input list & fix typo