motivated choice of algorithms