finished part 4, database, persistance