fixed lame floating-point bug
updated TODOs