adjusted output to take into consideration boxes are not type dependent