active switch with the frame-based