Order of brackets was wrong