preparing structure to migrate to SQlite