added a dynamic example