Return anaonymous type from sample program