cleaned up loadData, removed nonefilling. now throws an error and crashes if data is problematic.