added db connection