working on discount code application