Initial commit to update discounting

Signed-off-by:benjamincharlton <benjicharlton@gmail.com>