define block in main