created echo wrapper for print