began some algebraic stuff