fixed handling negative numbers