replace print to echo