Adapted to new tailSwing format.