Added chance library.