fixed javadocs. started some correlation stuff