Save method implementation