add math helpers to factor