reworked console print