adding atributes to constructor Model