set the max parameter number for function to 6