Commented out "database.open();"