changed export method