Bring the database variable in scope