A mathhelper for my own use