insert functionality in postgres
now with bubbles
yet another edn hack