TODO: change the form of algorithm to a question form