mr/urldb1b for mr1 (everything inline)
mr/urldb1b : refactored to use functions