added video processing