added debug box