filling out the UI based on the yaml