changed echo to print