now examples can handle more data than file and title