finished yml to rb