put output into console