fmt now prints newlines correctly, and also fa returns correct free
names