added some actual modeling; handling sdv now