Working on algorithms, new method.