added inline template snippet