roy hack: allow negative numbers