tidying up, fixing end (still not great and needs captions)