code to identify corve blocks