I remember -1 means something special, would be good to make this a constant.