developed new private method