Code blocks not correct