implemented dynarr util