starting confusing db stuff