data upload is working. needs cleanup.