moved export and import and now taking parameters