Implement save method