added code to video 21