need to fix derpy Datbase class