add diary log, add bOrder option, better testing resolution