add pushValue which gets a value from $input (i.e.$_GET), and saves the value, and return the value.
add a default value when pushing a value.