add view for gui