trying to workout realloc