removes unnecessary example code