adds dirty for testing goodness
adds discount code validations