creating and d11n for new patterns and templates