adding clear db function, for testing purposes