introduced frame window for the processing