Added spill code