add log and result