adaption for model