adjusted code to no token procurer impl