try to extended math library for myself