realize function of videotape