stable version with succesful testing algorithms