how to code block part 2