# Can a function in base contract have "onlyInitializing" modifier and a derived contract have "reinitialilzer" modifier in its initialize function?

**URL:** https://forum.openzeppelin.com/t/can-a-function-in-base-contract-have-onlyinitializing-modifier-and-a-derived-contract-have-reinitialilzer-modifier-in-its-initialize-function/39135
**Category:** Smart Contracts
**Tags:** openzeppelin-contracts
**Created:** [January 6, 2024, 4:47pm UTC](https://forum.openzeppelin.com/t/can-a-function-in-base-contract-have-onlyinitializing-modifier-and-a-derived-contract-have-reinitialilzer-modifier-in-its-initialize-function/39135 "2024-01-06T16:47:25Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![ernestognw](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/ernestognw/32/18576_2.png) [@ernestognw](https://forum.openzeppelin.com/u/ernestognw)
#### Post date: [January 8, 2024, 3:30pm UTC](https://forum.openzeppelin.com/t/can-a-function-in-base-contract-have-onlyinitializing-modifier-and-a-derived-contract-have-reinitialilzer-modifier-in-its-initialize-function/39135/3 "2024-01-08T15:30:53Z")

</div>

I'm closing because I don't feel comfortable answering questions about Initializable without knowing exactly what's going on with the code.

Next time please attach a code example or something we can use to help.

> [@How do I ask a good question?](https://forum.openzeppelin.com/t/how-do-i-ask-a-good-question/9375):
>
> If you were redirected here, your post did not meet quality standards. Please review this page and edit or create a new topic according to the guidelines. Asking good questions is important in this community. It will improve your chances of getting an answer from the OpenZeppelin team or community members, and of finding out how to solve your problem. Users are expected to put in a minimum level of effort. Topics will be closed unanswered if moderators consider that this was not the case. Re…

---

_[View the full topic](https://forum.openzeppelin.com/t/can-a-function-in-base-contract-have-onlyinitializing-modifier-and-a-derived-contract-have-reinitialilzer-modifier-in-its-initialize-function/39135)._
