clarified method names, created log_clean_rows method