added extension boilerplate