additions and modifications for 'view only' functionality