added model data and added file to save the data