added example of using HList