added comments about TAP state shifting