Added the rest of the math and logic methods