Revised coding for Outfit test