Now use calloc instead of malloc