* updated dynamic template attribute to int