Return after processing an array