added widget system for template positions