put alternative code in a code block