Refactoring obr view