completed scaffolding functionality, need to implement d3 automatic retrieval