added example usage to main view controller