Tidy up analysis section