new api, scribblings, and bug fixes