works for neg num now