to make external lib