added math api and docs