Libraries and model