changed model to fix syntax error