models generated and working