missed some stuff that needed calloc'ing