created a contract for promotional codes