done with model. should work after FileIO is done