minor changes to assist database