multi array, version 2, ugly but working