adding Math class, first draft