added functor and kinds learning examples