chpf core code