Using better names for the methods
Added save and restore functionality
Updated code to use updated methods