similar to on line 166, should this be -1?