Writing your own Analysis StagesΒΆ