initial code for allstate