copy from allstate demo