study of the algorithms