Generate guard block
Starting implementation