added protected_attributes dependency