diaply model + client