Algorithm is still not done yet