added debug view