the algorithm should be working but data set might be wrong
fixed conflict