Added speedFactor variable in cam class