referencing yaml keys correctly now