cleaned up bracket