add function to set default params