model as parameter and static