updated for tex