updated code example section