added warnings to templates