add cursor execution statement