Updated to use int in userParams vector