working on fmod and rounding div