decimal part complete, code comments