add view mechanism