matching my code to video code