all acceptance criteria implemented
updated correlation test