adding void to block def