Library and client