trying to fix allocations learned how to use calloc properly