interrupt reasons
checks for closing bracket