Some examples of the smppapi