generating yaml