Added function to import data