naming chunks and clean up of figures