added prototype code for California data