working on fixed point conversion