share library example