added debug block to see if data is all there