READ AND INSERT NOW WORKING-  bug was actually me fucking up elsewhere.