Added code for remaining executed instructions