code blocks were broken because of a missing close bracket on the preceding block