add example 31 in basic