Changin values to unsigned to simplify. Still getting this to work