fix db to not be array, importing works
add proc