math fixes
added tast