use this save same resource