Added extenal template