removed debug view code