small refactoring : removed unused variables and made strafeFactor to final