changed 255 to -1