Moved arrays to front