And I saw the mesim, the ketanim and gedolim, having taken their stand before the kisse and sfarim were opened and another Sefer was opened, which is the Sefer HaChayyim and the mesim were judged by the things having been written in the sfarim according to their ma'asim  works . [Daniel 7:10; Shemot 32:32; Devarim 29:20; Daniel 12:1; Malachi 3:16; Yirmeyah 17:10]