Add isNew function argument for retraction