Found the original code that these samples are derived from.