overload queue << ostream
place declaration and definition in correct files