moved to external templates