hooked up user input data to the parameters