added option to print empty accounts