making DB work!