Functions only return -1, not -1 or -2.