added a simple dynamic template