advancing on db.R