completed v1 discount calculator