WIP with prints
WIP (seg faults, memory allocation not blocked)