segregate phalanx code from input code