Modifying setCurrentIndex() method.
Changing values of packet type and adding SKIP
packet type.