rename Layer to view