Added code to add stats

Used the Params binding.