system(clear) works, but output doesnt.