send result to console