add double overlay checkbox
cleannning code