implement randomPoem in main controller