cleaned up logging a smidge