new model attributerecord implemented