Change algo of testing programems