reworked printBoard