do not include iostream in functions