main.db mostly opens