Added _save function