1) Getting rid of commit. 2) using offsetof to refer to the offset within a struct instead of hard coding