Checking the brackets, stacks....