allow more than 256 input variables
add updated example macros