upd. todo + math functions pdf and cdf