implement prologue and epilogue for instrumentation call
implementing icontext
refactor