attribute acces under model