don't echo inside a function