inline template and support for show