i need to make a better DatabaseManager