removed debug prints
removed debug prints and added provision for video devices