automatically export functions