making the dbhost an attribute