slides updated to reflect code