Improved the functions for varying the values of requested parameter. Added code that calls the functions for varying parameter values.