integrated unsemantic code base with a few optimizations