ryans commit after alloc2d
add