Optimization for showing code