simplifying library loading