fixed private method