added hex display code.