use diamond operator where applicable