parameters for threshold. analysis of macros. better README