do conversion first