finish lib