got code running on ariadne, but malloc complaints.