merged location with templates