updated for crab3 format change