Adding result output for the end points