model tmplate adapted