established database and models for entry and location