removed view code