# ERC721PresetMinterPauserAutoId mint() function and tokenId

**URL:** <https://forum.openzeppelin.com/t/erc721presetminterpauserautoid-mint-function-and-tokenid/2780>\
**Category:** Contracts\
**Created:** [May 1, 2020, 10:30pm UTC](https://forum.openzeppelin.com/t/erc721presetminterpauserautoid-mint-function-and-tokenid/2780 "2020-05-01T22:30:29Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [May 5, 2020, 4:40am UTC](https://forum.openzeppelin.com/t/erc721presetminterpauserautoid-mint-function-and-tokenid/2780/4 "2020-05-05T04:40:49Z")

</div>

Hi @naszam,

What weren’t you able to do with extending ERC721PresetMinterPauserAutoId that meant you needed to inherit from ERC721 instead?

I have created a new topic for: [What are the benefits of ERC721Holder.sol?](https://forum.openzeppelin.com/t/what-are-the-benefits-of-erc721holder-sol/2792) as I think it is best for the future community when looking for an answer to have a question per topic.

---

_[View the full topic](https://forum.openzeppelin.com/t/erc721presetminterpauserautoid-mint-function-and-tokenid/2780)._
