New functions w jk_library.