added db call