finished the tiny database which can be arbitrarily sized of ex17