N is now an array