registers changed to signed int