Add brackets if needed