added CommonMath namespace