added extended templates for scope