YAML functioning correctly