optimized Code samples display