Added infinity sentinel method