change in compiler settings to get rid of unused param warning