more methods for viewer