refactored brackets view