code clearing propossed by stloyd