# Difference between \_\_init and \_\_init\_unchained

**URL:** <https://forum.openzeppelin.com/t/difference-between-init-and-init-unchained/25255>\
**Category:** Upgrades\
**Tags:** erc721, erc1155\
**Created:** [February 24, 2022, 9:04am UTC](https://forum.openzeppelin.com/t/difference-between-init-and-init-unchained/25255 "2022-02-24T09:04:38Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![saxenism](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@saxenism](https://forum.openzeppelin.com/u/saxenism)\
**Post date:** [February 27, 2023, 1:35pm UTC](https://forum.openzeppelin.com/t/difference-between-init-and-init-unchained/25255/5 "2023-02-27T13:35:38Z")

</div>

This thread provides a much more comprehensive explanation of this topic:

> [@Why keep "\_\_Ownable\_init" beside "\_\_Ownable\_init\_unchained"?](https://forum.openzeppelin.com/t/why-keep-ownable-init-beside-ownable-init-unchained/25579):
>
> Hi, I was looking at the [\_\_Ownable\_init](https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/blob/20380ee699406211ae88c4edd11b0af87c8abdd6/contracts/access/OwnableUpgradeable.sol#L29-L31) function defined in the OwnableUpgradeable contract, and I couldn't understand why it is needed at all. As far as I can tell, only the \_\_Ownable\_init\_unchained method is called in the other contracts that inherit from OwnableUpgradeable in this repository. So why keep the other method in the contract? Backwards compatibility?

---

_[View the full topic](https://forum.openzeppelin.com/t/difference-between-init-and-init-unchained/25255)._
