implemented sendFrame and interruptHandler