replaced R with \mathds{R}