Using code blocks