Simple math ad-hoc