small changes when printing solutions