adding negative and positive arrays