exercises: oops, fprintf :)