Reformatted Phenix246 code