first attempt to retrieve IDs from database
Merge remote-tracking branch 'origin/database_access' into database_access