display code and box