require yaml and make const top-level