trying to figure out session based template use...in progress