Implementation of highest value determining.