WIP - rendering of fragments sort-of works