weaver2007 code library