create methods for bonus and discount and correction of errors