discount codes

was wondering what one has to do to obtain a valid discount code?