started implementing the use documents for data persistence