Separate defintion and printing.