no longer allocating stupidly large arrays