extension boilerplate