more work with parseing, but the second correlations aren't right...