factor Core.insert