added lib.contracts