fixed link & exported functions