added newFrame task