working on fixing database to have a different collection for each initialization parameter