fixed memory leaks..renamed variables..updated video