general database code and code applied to the Bridgewire members database