Function returns more than 0 and -1.  Other values aren't mentioned here.