* check the parameters for