- Implemented sendFrame method