switchs between active array