added debug view to layout