imported reposyn function