added attributes model, returns array.