used to coding for offers