use diamond operators if possible