implemented import and rollback methods.