change code fragment to inline