[place bets] template and argument parsing fixed