begin to write lib load