finished model
made datasource work; probably need to config this yourself