removing todo in algorithm