Separation with global arrays added.