Made save() method

Made save() method