Libraries and the function