Testing implemented. Now debugging.