works
attributes and itterating over the attribute array in the config file