char array is malloc'd but doesn't work still
FINALLY it works