prints console