Huh? I've `avail` in a second place everywhere in this function...