cleaned up logging lines