removed compare arrays