Basic problems adding template code added