refs #2. rebuild the view code~