trying yield method