Refactoring + Simple discount calculation