working with external lib