needed to add attr accessible to all models