renamed "self.view" to "self.layout"