corr() working, needs code cleanup