improved code display