new parameters for log and top