extended database and prepared for permission