introduction to er model