Just testing the algorithm