implemented fifo slots and fixed chain reloading