deleted the redundant db stuff