rough primitive support, uncomment function inlining