added switching around of heads