solved ostream<< magic (no magic after all)