added interact instructions and interacting state sketch code