updated code example look