removed syntax errorss in model