added video capture; added new insertion criterion