Assimilate and simplify aleph inegration code