add functionality to store params and values