major performance improvements from doing less, inlining, creating elements faster
merge