updated code example & ouput title