Trivial implementation.
Corrected to printfs.