discount calculates, buggy right now