note impelementation, database remodel