beginnings of spill functionality