renamed model to name in devives