changed syntax gor getting models data