templates can now contain hboxes and vboxes. updated specs