readded realloc opts