attachment now is a model