cleaned up redundant arrays