# Create extension as existing module with additional functions

**URL:** <https://discourse.slicer.org/t/create-extension-as-existing-module-with-additional-functions/6211>\
**Category:** Development\
**Tags:** extensions-manager\
**Created:** [March 19, 2019, 7:48pm UTC](https://discourse.slicer.org/t/create-extension-as-existing-module-with-additional-functions/6211 "2019-03-19T19:48:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![n2018](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/n2018/32/3287_2.png) [@n2018](https://discourse.slicer.org/u/n2018)\
**Post date:** [March 19, 2019, 7:48pm UTC](https://discourse.slicer.org/t/create-extension-as-existing-module-with-additional-functions/6211/1 "2019-03-19T19:48:44Z")

</div>

Hello! I want to add some functions to an existing module by writing an extension on Python, is it possible to copy existing module interface and functionality and add my own ones?

---

<div class="post-metadata">

**Author:** ![adamrankin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/adamrankin/32/155_2.png) [@adamrankin](https://discourse.slicer.org/u/adamrankin)\
**Post date:** [March 19, 2019, 8:20pm UTC](https://discourse.slicer.org/t/create-extension-as-existing-module-with-additional-functions/6211/2 "2019-03-19T20:20:21Z")

</div>

Your two options are:

1. Duplicate the source extension and add your own functionality

2. Collaborate with the source extension team and contribute fixes/features

---

<div class="post-metadata">

**Author:** ![n2018](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/n2018/32/3287_2.png) [@n2018](https://discourse.slicer.org/u/n2018)\
**Post date:** [March 19, 2019, 8:57pm UTC](https://discourse.slicer.org/t/create-extension-as-existing-module-with-additional-functions/6211/3 "2019-03-19T20:57:59Z")

</div>

OK, got it, thank you for repply!
