Adding partial inlined version