assign variables to reach atributes