added example, minor style update