added example of using argv and generics