changed the variable name of dbAgent to see what the object has not been set up yet.