checking against arrays changed