read_in_allocations TODO: depreciate