added a database file and a prime view