Updated code to video 30