implemented full import/export