front end part of listing and view