changed parameter to 10
change parm to 4