Got to one of two function; Spent toom uch time on documention, but damn if that function isn't well documented.