changing init arg to generic map