added code to check the r (read) op in objget