Pellegrini: My legacy is goals