fixed reflections, added underflow