pongo2 had recent API changes; applying them here