add new function tofixed