refactored reference to external lib