migrate to rst