two dynamic template