added code to import all entries