changed model syntax