adding invoke inline annotated functions