added remote database code