Started writing identification algorithm.