frame and template types