Added two windows. one for dtim and the other for sctim