add second example to library; library code WIP