more work done on the console writing