adding histogram templates