template code workout