added share data and corrected input data