refactoring
refactoring, add fixed point class