under dev, not working/ broken insert function