add view generate