added some features that were suggested.
merge ser file