Refuctor output