resolve() example correction