Added first functions for import and export