def create_new_habit_or_daily(habit_id: str, name: str, total: int, difficulty: (str, int), time, collection: database.Database): new_habit = { "_id": habit_id, "name": name, "total": total, "difficulty": difficulty[0], "points": difficulty[1], "time": time } return collection.insert_one(new_habit)