Now, it works as expect having lives for each code chain