Added discrete math