use new api
invalid examples removed