repo conversion