input old for video code