updated the setup of the setParameter to use the proper values