Function for defining default params