added output box and testing process