Removed pipe separator for multiple states, using arrays instead