add log() and log2db(,,) functions