yaml now completely encapsulated