make the reg work