rewrite method save