models syntax change