change echo to print for the test