small tweak to let type inference work
add promiscuous mode command line flag